package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: Learner
 * @Version: 1.0
 */
@Mapper
public interface NursingMapper {
    List<NursingPlan> getPlan();

    int addNursing(NursingPlan nursingPlan);


    Page<NursingPlan> getSearch(String planName, Integer status);

    NursingPlanVo getById(long id);

    void updateById(NursingPlan nursingPlan);

    void delById(long id);

    void updateStatus(long id, Integer status);
}
